package cn.chengpengper.unit19.protocol.response;

import cn.chengpengper.unit19.protocol.Packet;
import cn.chengpengper.unit19.protocol.command.Command;
import cn.chengpengper.unit19.protocol.session.Session;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author huchengpeng
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GroupMessageResponsePacket extends Packet {

    private String fromGroupId;

    private Session fromUser;

    private String message;

    @Override
    public Byte getCommand() {
        return Command.GROUP_MESSAGE_RESPONSE;
    }
}
